package cn.zwy.asm;

import static org.objectweb.asm.Opcodes.ASM6;
import static org.objectweb.asm.Opcodes.V1_7;

import org.objectweb.asm.ClassVisitor;

/**
 * ASM Guide example class.
 * 
 * @author Eric Bruneton
 */
public class ChangeVersionAdapter extends ClassVisitor {

  public ChangeVersionAdapter(ClassVisitor cv) {
    super(ASM6, cv);
  }

  @Override
  public void visit(int version, int access, String name,
      String signature, String superName, String[] interfaces) {
    cv.visit(V1_7, access, "DogV7", signature, superName, interfaces);
  }
}
